package com.xueshishasha.oa.service;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.xueshishasha.oa.model.OverTime;

public interface OverTimeService {

	public OverTime getInfo(String id);

	public void updateInfo(OverTime overTime);

	public Serializable save(OverTime overTime);

	public void delete(OverTime overTime);

	public List<OverTime> getAll();

	public OverTime getModelById(Serializable id);

	public List<OverTime> getModels(String hql, Object[] parameters);

	public void saveOrUpdate(OverTime overTime);

	public void saveOrUpdateAll(Collection<OverTime> collection);

	public void update(OverTime overTime);

	public List<OverTime> getByCriteria(DetachedCriteria dc);

}
